package me.mingshan.leetcode;

/**
 * @author hanjuntao
 * @date 2025/5/30 0030
 */
public class VersionControl {

    private int bad;

    public boolean isBadVersion(int version) {
        if (version >= bad) {
            return true;
        }
        return false;
    }

    public void setBad(int bad) {
        this.bad = bad;
    }
}
